project(evild)

cmake_minimum_required(VERSION 2.8)

add_executable(evild DeviceHandler.cpp SerialReader.cpp main.cpp)

install(TARGETS evild RUNTIME DESTINATION bin)


target_link_libraries( ${PROJECT_NAME} ${CMAKE_THREAD_LIBS_INIT}
                              /usr/local/lib/libPocoNetSSL.so
                              /usr/local/lib/libPocoCrypto.so
                              /usr/local/lib/libPocoUtild.so
                              /usr/local/lib/libPocoNetd.so
                              /usr/local/lib/libPocoXMLd.so
                              /usr/local/lib/libPocoFoundationd.so )
add_definitions( -std=c++11 )

include_directories(/usr/local/include ${CMAKE_SOURCE_DIR} )                      